package com.homeparking.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.homeparking.common.annotation.Excel;
import com.homeparking.common.core.domain.BaseEntity;
import lombok.Data;
/**
 * 员工工作日志信息对象 manage_daywork
 * 
 * @author liuyangyang
 * @date 2025-04-23
 */
@Data
public class Daywork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工作日志 ID */
    private Long dayworkId;

    /** 工作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date workTime;

    /** 用户 ID */
    private Long userId;

    /** 用户姓名 */
    private String userName;

    /** 0正常1删除 */
    private String delFlag;

    /** 工作内容 */
    @Excel(name = "工作内容")
    private String content;


    /** 开始时间 */
    private String startTime;
    /** 结束时间 */
    private String endTime;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dayworkId", getDayworkId())
            .append("workTime", getWorkTime())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("delFlag", getDelFlag())
            .append("content", getContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
